using System;
using System.Linq;

namespace Home.Site.Models.DataLayer
{
    public interface IOfferRepository: IDisposable
    {
        IQueryable<Offer> All { get; }
        Offer Find(int id);
        void InsertOrUpdate(Offer offer);
        void Delete(int id);
        void Save();
    }
}